package com.struts2.actions;

public class LegalEntity {

	private int legal_entity_id;
	private String businessname;
	private String forenames;
	private String surnames;
	private String link;
	
	public String getLink() {
		return link;
	}
	public void setLink(String link) {
		this.link = link;
	}
	public int getLegal_entity_id() {
		return legal_entity_id;
	}
	public void setLegal_entity_id(int legal_entity_id) {
		this.legal_entity_id = legal_entity_id;
	}
	public String getBusinessname() {
		return businessname;
	}
	public void setBusinessname(String businessname) {
		this.businessname = businessname;
	}
	public String getForenames() {
		return forenames;
	}
	public void setForenames(String forenames) {
		this.forenames = forenames;
	}
	public String getSurnames() {
		return surnames;
	}
	public void setSurnames(String surnames) {
		this.surnames = surnames;
	}

	public String toString(){
		StringBuilder sbr = new StringBuilder();
		sbr.append("\t<legal_entity_id>"+this.legal_entity_id+"</legal_entity_id>\n");
		sbr.append("\t<businessname>"+this.businessname+"</businessname>\n");
		sbr.append("\t<forenames>"+this.forenames+"</forenames>\n");
		sbr.append("\t<surnames>"+this.surnames+"</surnames>\n");
		String result = sbr.toString();
		sbr = null;
		return result;
	}
}
